package com.eobard.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eobard.entity.Permission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Eobard Thawne
 * @since 2022-07-31
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * 根据用户ID查询对应的权限菜单列表
     */
    List<Permission> findPermissionByUserId(Long userId);
}
